package com.stylefeng.guns.rest.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 外赚平台文件
 * </p>
 *
 * @author ruiyifeng123
 * @since 2019-04-08
 */
@TableName("pf_sys_file")
public class PfSysFile extends Model<PfSysFile> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "sys_file_id", type = IdType.AUTO)
    private Long sysFileId;
    /**
     * 文件名称
     */
    @TableField("file_name")
    private String fileName;
    /**
     * 类型：1-启动页;2-抽奖图标;3-数据统计;4-关于我们;5-用户协议;6-抽奖IOS;7-抽奖(安卓);8-邀请码;9-商城轮播图;10-充值;11-提现;12-IOS充值审核中;
     */
    private Integer type;
    /**
     * 状态：1-使用中；2-作废
     */
    private Integer status;
    /**
     * 管理员id
     */
    @TableField("modifier_id")
    private Integer modifierId;
    /**
     * 管理员姓名
     */
    @TableField("modifier_name")
    private String modifierName;
    /**
     * 文件路径
     */
    @TableField("file_url")
    private String fileUrl;
    /**
     * 跳转类型：1-全部活动；2-单个活动详情；3-广告详情；4-周边店铺；5-H5；6-单个商家活动；7-全部拼单；8-单个拼单；9-全部返利；10-单个返利
     */
    @TableField("jump_type")
    private Integer jumpType;
    /**
     * 跳转目标
     */
    @TableField("jump_target")
    private String jumpTarget;
    /**
     * 高度
     */
    private Integer height;
    @TableField("begin_time")
    private Date beginTime;
    /**
     * 结束时间
     */
    @TableField("end_time")
    private Date endTime;
    /**
     * 开始时间
     */
    @TableField("create_time")
    private Date createTime;


    public Long getSysFileId() {
        return sysFileId;
    }

    public void setSysFileId(Long sysFileId) {
        this.sysFileId = sysFileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getModifierId() {
        return modifierId;
    }

    public void setModifierId(Integer modifierId) {
        this.modifierId = modifierId;
    }

    public String getModifierName() {
        return modifierName;
    }

    public void setModifierName(String modifierName) {
        this.modifierName = modifierName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public Integer getJumpType() {
        return jumpType;
    }

    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    public String getJumpTarget() {
        return jumpTarget;
    }

    public void setJumpTarget(String jumpTarget) {
        this.jumpTarget = jumpTarget;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.sysFileId;
    }

    @Override
    public String toString() {
        return "PfSysFile{" +
        "sysFileId=" + sysFileId +
        ", fileName=" + fileName +
        ", type=" + type +
        ", status=" + status +
        ", modifierId=" + modifierId +
        ", modifierName=" + modifierName +
        ", fileUrl=" + fileUrl +
        ", jumpType=" + jumpType +
        ", jumpTarget=" + jumpTarget +
        ", height=" + height +
        ", beginTime=" + beginTime +
        ", endTime=" + endTime +
        ", createTime=" + createTime +
        "}";
    }
}
